<?php include TMPL_PATH.'public/header.phtml';?>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
    	<div style="float:left;margin-right:50px;">
        <a href='javascript:;' class="on"><em>尺码对照列表</em></a><span>|</span>
        <a href='<?php echo U('product/product_size_add');?>' ><em>添加尺码</em></a>
      </div>
      
    </div>
</div>
<div class="bk"></div>
<div class="pad_10">
<div class="table-list">
    <table width="100%" cellspacing="0" >
        <thead>
          <tr>
            <th width="30">ID</th>
            <th align='center' width="100">身高</th>
            <th align='center' width="100">体重</th>
            <th align='center' width="100">年龄</th>
            <th align='center' width="60">胸围</th>
            <th align='center' width="60">腰围</th>
            <th align='center' width="60">臀围</th>
			<th align='center' width="60">肩宽</th>
			<th align='center' width="60">前衣长</th>
			<th align='center' width="60">袖长</th>
			<th align='center' width="80">创建时间</th>
			<th align='center' width="80">管理操作</th>
          </tr>
        </thead>
    <tbody>
    <?php 
   	if(isset($sizeList) && $sizeList):
   		foreach ($sizeList as $v):
   ?>
			<tr>
					<td align='center'><?php echo $v['id']?></td>
					<td align='center'><?php echo $v['height']?> - <?php echo $v['height2']?> cm</td>
					<td align='center'><?php echo $v['weight']?> - <?php echo $v['weight2']?> kg</td>
					<td align='center'><?php echo $v['age']?> - <?php echo $v['age2']?> years old </td>
					<td align='center'><?php echo $v['circumference']?></td>
					<td align='center'><?php echo $v['waistline'];?></td>
					<td align='center'><?php echo $v['hipline'];?></td>
					<td align='center'><?php echo $v['shoulder'];?></td>
					<td align='center'><?php echo $v['forepart_length'];?></td>
					<td align='center'><?php echo $v['outside_sleeve'];?></td>
					<td align='center'><?php echo date('Y-m-d G:i', $v['time']);?></td>
					<td align='center'> 
					<a href="<?php echo U('product/product_size_edit', 'id='.$v['id']);?>">修改</a>&nbsp;&nbsp;|&nbsp;&nbsp;
					<a href="javascript:confirmurl('<?php echo U('product/product_size_delete', 'id='.$v['id']);?>','确认要删除吗？')">删除</a>
					</td>
				</tr>
	<?php 
		endforeach;
		endif;
	?>
   </tbody>
    </table>
	<div id="pages"><?php echo $pageShow;?></div>
</div>
</div>
</body>
</html>
